package webdemo;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Test {
    @RequestMapping(value="/test.do")  
    public void index_jsp(Model model){  
        model.addAttribute("test", "hello world");  
    }  
}
